Skip to content

[postgres] Java 25#552

Closed
vmikhailenko wants to merge 2 commits intopostgresfrom
postgres-java-25
Closed

[postgres] Java 25#552
vmikhailenko wants to merge 2 commits intopostgresfrom
postgres-java-25

Conversation

@vmikhailenko
Copy link
Copy Markdown
Contributor

Run on Java 25

@vmikhailenko

This comment was marked as outdated.

@vmikhailenko vmikhailenko changed the title Use Java 25 [postgres] Java 25 Sep 29, 2025
@vmikhailenko vmikhailenko marked this pull request as ready for review April 27, 2026 11:37
@mofterdinger
Copy link
Copy Markdown
Member

I tested this PR on GCP and deployment fails with this error:

   2026-04-27T14:33:12.05+0200 [STG/0] OUT -----> Java Buildpack v4.77.0 (offline) | https://github.com/cloudfoundry/java-buildpack.git#1194e2c3
   2026-04-27T14:33:12.06+0200 [STG/0] ERR [Buildpack]                      ERROR Finalize failed with exception #<RuntimeError: Sap Machine JRE error: No version resolvable for '25.+' in 1.8.0_345, 1.8.0_352, 1.8.0_362, 1.8.0_372, 1.8.0_382, 1.8.0_392, 1.8.0_402, 1.8.0_412, 1.8.0_422, 1.8.0_432, 1.8.0_442, 1.8.0_452, 10.0.0_0.2.b46, 10.0.1_0.0.b10, 10.0.2_0.0.b13, 10.0.2_0.1.b13, 11.0.0_0.1.b28, 11.0.10_0.0.b0, 11.0.11_0.0.b0, 11.0.12_0.0.b0, 11.0.13_0.0.b0, 11.0.14_0.0.b0, 11.0.14_1.0.b0, 11.0.15_0.0.b0, 11.0.15_0.1.b0, 11.0.16_0.0.b0, 11.0.16_1.0.b0, 11.0.17_0.0.b0, 11.0.18_0.0.b0, 11.0.19_0.0.b0, 11.0.1_0.0.b13, 11.0.20_0.0.b0, 11.0.20_1.0.b0, 11.0.21_0.0.b0, 11.0.22_0.0.b0, 11.0.23_0.0.b0, 11.0.24_0.0.b0, 11.0.25_0.0.b0, 11.0.26_0.0.b0, 11.0.27_0.0.b0, 11.0.2_0.0.b0, 11.0.3_0.0.b0, 11.0.4_0.0.b0, 11.0.5_0.0.b0, 11.0.6_0.0.b0, 11.0.6_0.1.b0, 11.0.7_0.0.b0, 11.0.8_0.0.b0, 11.0.9_0.0.b0, 11.0.9_1.0.b0, 12.0.0_0.0.b0, 12.0.1_0.0.b0, 12.0.2_0.0.b0, 13.0.0_0.0.b0, 13.0.1_0.0.b0, 13.0.2_0.0.b0, 14.0.0_0.0.b0, 14.0.1_0.0.b0, 14.0.2_0.0.b0, 15.0.0_0.0.b0, 15.0.1_0.0.b0, 15.0.2_0.0.b0, 16.0.0_0.0.b0, 16.0.1_0.0.b0, 16.0.2_0.0.b0, 17.0.0_0.0.b0, 17.0.10_0.0.b0, 17.0.11_0.0.b0, 17.0.12_0.0.b0, 17.0.13_0.0.b0, 17.0.14_0.0.b0, 17.0.15_0.0.b0, 17.0.1_0.0.b0, 17.0.2_0.0.b0, 17.0.3_0.0.b0, 17.0.3_0.1.b0, 17.0.4_0.0.b0, 17.0.4_1.0.b0, 17.0.5_0.0.b0, 17.0.6_0.0.b0, 17.0.7_0.0.b0, 17.0.8_0.0.b0, 17.0.8_1.0.b0, 17.0.9_0.0.b0, 18.0.0_0.0.b0, 18.0.1_0.0.b0, 18.0.1_1.0.b0, 18.0.2_0.0.b0, 18.0.2_1.0.b0, 19.0.0_0.0.b0, 19.0.1_0.0.b0, 19.0.2_0.0.b0, 20.0.0_0.0.b0, 20.0.1_0.0.b0, 20.0.2_0.0.b0, 21.0.0_0.0.b0, 21.0.1_0.0.b0, 21.0.2_0.0.b0, 21.0.3_0.0.b0, 21.0.4_0.0.b0, 21.0.5_0.0.b0, 21.0.6_0.0.b0, 21.0.7_0.0.b0, 22.0.0_0.0.b0, 22.0.1_0.0.b0, 22.0.2_0.0.b0, 23.0.0_0.0.b0, 23.0.1_0.0.b0, 23.0.2_0.0.b0, 24.0.0_0.0.b0, 24.0.1_0.0.b0>
   2026-04-27T14:33:12.06+0200 [STG/0] ERR Sap Machine JRE error: No version resolvable for '25.+' in 1.8.0_345, 1.8.0_352, 1.8.0_362, 1.8.0_372, 1.8.0_382, 1.8.0_392, 1.8.0_402, 1.8.0_412, 1.8.0_422, 1.8.0_432, 1.8.0_442, 1.8.0_452, 10.0.0_0.2.b46, 10.0.1_0.0.b10, 10.0.2_0.0.b13, 10.0.2_0.1.b13, 11.0.0_0.1.b28, 11.0.10_0.0.b0, 11.0.11_0.0.b0, 11.0.12_0.0.b0, 11.0.13_0.0.b0, 11.0.14_0.0.b0, 11.0.14_1.0.b0, 11.0.15_0.0.b0, 11.0.15_0.1.b0, 11.0.16_0.0.b0, 11.0.16_1.0.b0, 11.0.17_0.0.b0, 11.0.18_0.0.b0, 11.0.19_0.0.b0, 11.0.1_0.0.b13, 11.0.20_0.0.b0, 11.0.20_1.0.b0, 11.0.21_0.0.b0, 11.0.22_0.0.b0, 11.0.23_0.0.b0, 11.0.24_0.0.b0, 11.0.25_0.0.b0, 11.0.26_0.0.b0, 11.0.27_0.0.b0, 11.0.2_0.0.b0, 11.0.3_0.0.b0, 11.0.4_0.0.b0, 11.0.5_0.0.b0, 11.0.6_0.0.b0, 11.0.6_0.1.b0, 11.0.7_0.0.b0, 11.0.8_0.0.b0, 11.0.9_0.0.b0, 11.0.9_1.0.b0, 12.0.0_0.0.b0, 12.0.1_0.0.b0, 12.0.2_0.0.b0, 13.0.0_0.0.b0, 13.0.1_0.0.b0, 13.0.2_0.0.b0, 14.0.0_0.0.b0, 14.0.1_0.0.b0, 14.0.2_0.0.b0, 15.0.0_0.0.b0, 15.0.1_0.0.b0, 15.0.2_0.0.b0, 16.0.0_0.0.b0, 16.0.1_0.0.b0, 16.0.2_0.0.b0, 17.0.0_0.0.b0, 17.0.10_0.0.b0, 17.0.11_0.0.b0, 17.0.12_0.0.b0, 17.0.13_0.0.b0, 17.0.14_0.0.b0, 17.0.15_0.0.b0, 17.0.1_0.0.b0, 17.0.2_0.0.b0, 17.0.3_0.0.b0, 17.0.3_0.1.b0, 17.0.4_0.0.b0, 17.0.4_1.0.b0, 17.0.5_0.0.b0, 17.0.6_0.0.b0, 17.0.7_0.0.b0, 17.0.8_0.0.b0, 17.0.8_1.0.b0, 17.0.9_0.0.b0, 18.0.0_0.0.b0, 18.0.1_0.0.b0, 18.0.1_1.0.b0, 18.0.2_0.0.b0, 18.0.2_1.0.b0, 19.0.0_0.0.b0, 19.0.1_0.0.b0, 19.0.2_0.0.b0, 20.0.0_0.0.b0, 20.0.1_0.0.b0, 20.0.2_0.0.b0, 21.0.0_0.0.b0, 21.0.1_0.0.b0, 21.0.2_0.0.b0, 21.0.3_0.0.b0, 21.0.4_0.0.b0, 21.0.5_0.0.b0, 21.0.6_0.0.b0, 21.0.7_0.0.b0, 22.0.0_0.0.b0, 22.0.1_0.0.b0, 22.0.2_0.0.b0, 23.0.0_0.0.b0, 23.0.1_0.0.b0, 23.0.2_0.0.b0, 24.0.0_0.0.b0, 24.0.1_0.0.b0
   2026-04-27T14:33:12.07+0200 [STG/0] ERR Failed to compile droplet: Failed to run finalize script: exit status 1

@mofterdinger mofterdinger self-requested a review April 27, 2026 12:41
Comment thread mta.yaml
SPRING_PROFILES_ACTIVE: cloud
JBP_CONFIG_COMPONENTS: '{jres: ["JavaBuildpack::Jre::SapMachineJRE"]}'
JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "21.+" } }'
JBP_CONFIG_SAP_MACHINE_JRE: '{ jre: { version: "25.+" } }'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SapMachine 25 isn't available on GCP:

   2026-04-27T14:33:12.05+0200 [STG/0] OUT -----> Java Buildpack v4.77.0 (offline) | https://github.com/cloudfoundry/java-buildpack.git#1194e2c3
   2026-04-27T14:33:12.06+0200 [STG/0] ERR [Buildpack]                      ERROR Finalize failed with exception #<RuntimeError: Sap Machine JRE error: No version resolvable for '25.+' in 1.8.0_345, 1.8.0_352, 1.8.0_362, 1.8.0_372, 1.8.0_382, 1.8.0_392, 1.8.0_402, 1.8.0_412, 1.8.0_422, 1.8.0_432, 1.8.0_442, 1.8.0_452, 10.0.0_0.2.b46, 10.0.1_0.0.b10, 10.0.2_0.0.b13, 10.0.2_0.1.b13, 11.0.0_0.1.b28, 11.0.10_0.0.b0, 11.0.11_0.0.b0, 11.0.12_0.0.b0, 11.0.13_0.0.b0, 11.0.14_0.0.b0, 11.0.14_1.0.b0, 11.0.15_0.0.b0, 11.0.15_0.1.b0, 11.0.16_0.0.b0, 11.0.16_1.0.b0, 11.0.17_0.0.b0, 11.0.18_0.0.b0, 11.0.19_0.0.b0, 11.0.1_0.0.b13, 11.0.20_0.0.b0, 11.0.20_1.0.b0, 11.0.21_0.0.b0, 11.0.22_0.0.b0, 11.0.23_0.0.b0, 11.0.24_0.0.b0, 11.0.25_0.0.b0, 11.0.26_0.0.b0, 11.0.27_0.0.b0, 11.0.2_0.0.b0, 11.0.3_0.0.b0, 11.0.4_0.0.b0, 11.0.5_0.0.b0, 11.0.6_0.0.b0, 11.0.6_0.1.b0, 11.0.7_0.0.b0, 11.0.8_0.0.b0, 11.0.9_0.0.b0, 11.0.9_1.0.b0, 12.0.0_0.0.b0, 12.0.1_0.0.b0, 12.0.2_0.0.b0, 13.0.0_0.0.b0, 13.0.1_0.0.b0, 13.0.2_0.0.b0, 14.0.0_0.0.b0, 14.0.1_0.0.b0, 14.0.2_0.0.b0, 15.0.0_0.0.b0, 15.0.1_0.0.b0, 15.0.2_0.0.b0, 16.0.0_0.0.b0, 16.0.1_0.0.b0, 16.0.2_0.0.b0, 17.0.0_0.0.b0, 17.0.10_0.0.b0, 17.0.11_0.0.b0, 17.0.12_0.0.b0, 17.0.13_0.0.b0, 17.0.14_0.0.b0, 17.0.15_0.0.b0, 17.0.1_0.0.b0, 17.0.2_0.0.b0, 17.0.3_0.0.b0, 17.0.3_0.1.b0, 17.0.4_0.0.b0, 17.0.4_1.0.b0, 17.0.5_0.0.b0, 17.0.6_0.0.b0, 17.0.7_0.0.b0, 17.0.8_0.0.b0, 17.0.8_1.0.b0, 17.0.9_0.0.b0, 18.0.0_0.0.b0, 18.0.1_0.0.b0, 18.0.1_1.0.b0, 18.0.2_0.0.b0, 18.0.2_1.0.b0, 19.0.0_0.0.b0, 19.0.1_0.0.b0, 19.0.2_0.0.b0, 20.0.0_0.0.b0, 20.0.1_0.0.b0, 20.0.2_0.0.b0, 21.0.0_0.0.b0, 21.0.1_0.0.b0, 21.0.2_0.0.b0, 21.0.3_0.0.b0, 21.0.4_0.0.b0, 21.0.5_0.0.b0, 21.0.6_0.0.b0, 21.0.7_0.0.b0, 22.0.0_0.0.b0, 22.0.1_0.0.b0, 22.0.2_0.0.b0, 23.0.0_0.0.b0, 23.0.1_0.0.b0, 23.0.2_0.0.b0, 24.0.0_0.0.b0, 24.0.1_0.0.b0>
   2026-04-27T14:33:12.06+0200 [STG/0] ERR Sap Machine JRE error: No version resolvable for '25.+' in 1.8.0_345, 1.8.0_352, 1.8.0_362, 1.8.0_372, 1.8.0_382, 1.8.0_392, 1.8.0_402, 1.8.0_412, 1.8.0_422, 1.8.0_432, 1.8.0_442, 1.8.0_452, 10.0.0_0.2.b46, 10.0.1_0.0.b10, 10.0.2_0.0.b13, 10.0.2_0.1.b13, 11.0.0_0.1.b28, 11.0.10_0.0.b0, 11.0.11_0.0.b0, 11.0.12_0.0.b0, 11.0.13_0.0.b0, 11.0.14_0.0.b0, 11.0.14_1.0.b0, 11.0.15_0.0.b0, 11.0.15_0.1.b0, 11.0.16_0.0.b0, 11.0.16_1.0.b0, 11.0.17_0.0.b0, 11.0.18_0.0.b0, 11.0.19_0.0.b0, 11.0.1_0.0.b13, 11.0.20_0.0.b0, 11.0.20_1.0.b0, 11.0.21_0.0.b0, 11.0.22_0.0.b0, 11.0.23_0.0.b0, 11.0.24_0.0.b0, 11.0.25_0.0.b0, 11.0.26_0.0.b0, 11.0.27_0.0.b0, 11.0.2_0.0.b0, 11.0.3_0.0.b0, 11.0.4_0.0.b0, 11.0.5_0.0.b0, 11.0.6_0.0.b0, 11.0.6_0.1.b0, 11.0.7_0.0.b0, 11.0.8_0.0.b0, 11.0.9_0.0.b0, 11.0.9_1.0.b0, 12.0.0_0.0.b0, 12.0.1_0.0.b0, 12.0.2_0.0.b0, 13.0.0_0.0.b0, 13.0.1_0.0.b0, 13.0.2_0.0.b0, 14.0.0_0.0.b0, 14.0.1_0.0.b0, 14.0.2_0.0.b0, 15.0.0_0.0.b0, 15.0.1_0.0.b0, 15.0.2_0.0.b0, 16.0.0_0.0.b0, 16.0.1_0.0.b0, 16.0.2_0.0.b0, 17.0.0_0.0.b0, 17.0.10_0.0.b0, 17.0.11_0.0.b0, 17.0.12_0.0.b0, 17.0.13_0.0.b0, 17.0.14_0.0.b0, 17.0.15_0.0.b0, 17.0.1_0.0.b0, 17.0.2_0.0.b0, 17.0.3_0.0.b0, 17.0.3_0.1.b0, 17.0.4_0.0.b0, 17.0.4_1.0.b0, 17.0.5_0.0.b0, 17.0.6_0.0.b0, 17.0.7_0.0.b0, 17.0.8_0.0.b0, 17.0.8_1.0.b0, 17.0.9_0.0.b0, 18.0.0_0.0.b0, 18.0.1_0.0.b0, 18.0.1_1.0.b0, 18.0.2_0.0.b0, 18.0.2_1.0.b0, 19.0.0_0.0.b0, 19.0.1_0.0.b0, 19.0.2_0.0.b0, 20.0.0_0.0.b0, 20.0.1_0.0.b0, 20.0.2_0.0.b0, 21.0.0_0.0.b0, 21.0.1_0.0.b0, 21.0.2_0.0.b0, 21.0.3_0.0.b0, 21.0.4_0.0.b0, 21.0.5_0.0.b0, 21.0.6_0.0.b0, 21.0.7_0.0.b0, 22.0.0_0.0.b0, 22.0.1_0.0.b0, 22.0.2_0.0.b0, 23.0.0_0.0.b0, 23.0.1_0.0.b0, 23.0.2_0.0.b0, 24.0.0_0.0.b0, 24.0.1_0.0.b0
   2026-04-27T14:33:12.07+0200 [STG/0] ERR Failed to compile droplet: Failed to run finalize script: exit status 1

Can we use the Open JDK instead ?

@vmikhailenko vmikhailenko deleted the postgres-java-25 branch April 27, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants